package top.haijunit.navi.auth.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import top.haijunit.framework.mybatis.domain.BasicEntity;


/**
 * 授权权限表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "access_entity_permission")
public class SubjectPermissionEntity extends BasicEntity {

    /**
     * 授权主体类型
     */
    private Integer entityType;

    /**
     * 授权主体编码
     */
    private Long entityCode;

    /**
     * 角色编码
     */
    private Long roleCode;

    /**
     * 授权资源
     */
    private String resourceKey;

}
